package Banking;

public class Customer {
    private String firstName;
    private String lastName;
    private SavingAccount savingsAccount;
    private CheckAccount checkAccount;
    public Customer(String f,String l){
        firstName=f;
        lastName=l;
    }
    public String getFirstName() {
        return firstName;
    }
    public String getLastName() {
        return lastName;
    }

    public SavingAccount getSavingsAccount() {
        return savingsAccount;
    }

    public void setSavingsAccount(SavingAccount savingsAccount) {
        this.savingsAccount = savingsAccount;
    }

    public CheckAccount getCheckAccount() {
        return checkAccount;
    }

    public void setCheckAccount(CheckAccount checkAccount) {
        this.checkAccount = checkAccount;
    }
}
